home *** CD-ROM | disk | FTP | other *** search
- /**************** npcut.h *******************/
-
- #include <stdio.h>
- #include <stdlib.h>
- #include <string.h>
- #include <ctype.h>
- #include <jctype.h>
- #include <jstring.h>
- #include <dos.h>
- #include <io.h>
- #include <fcntl.h>
-
- #define NUL 0
- #define TAB 0x09
- #define RET 0x0A
- #define TRUE 1
- #define FALSE 0
-
- #define NP_DEL 5
-
- #ifdef MAIN
- char inputfile[80]; /* -i */
- char outputfile[80]; /* -o */
-
- FILE *input,*output;
-
- char npcut_front[4] ={0x1b,0x26,0x36,0x41};
- char npcut_tellstr[5]={0x1b,0x26,0x36,0x40,0};
- char npcut_nifend[21]={ 0x18,0x1f,0x40,0x40,0x0e,0x20,0x7f,0x7f,0x21,0x4c,
- 0x3e,0x44,0x3c,0x40,0x40,0x40,0x40,0x20,0x68,0x40,0};
- char npcut_niffirst[9]={0x1b,0x23,0x33,0x1b,0x33,0x1b,0x26,0x32,0};
- char npcut_weather[10]={0x1b,0x2d,0x57,0x0e,0x21,0x4c,0x20,0x68,0x40,0};
-
- int make_val = 0 ;
- int weatherflg = 0;
-
- #endif
-
- extern char inputfile[80]; /* -i */
- extern char outputfile[80]; /* -o */
- extern FILE *input,*output;
-
- extern char npcut_front[4];
- extern char npcut_tellstr[5];
- extern char npcut_nifend[21];
- extern char npcut_niffirst[9];
- extern char npcut_weather[10];
-